require 'rubygems'
require 'test/unit'
require "sandbox_base_test"

class TestMethodNotFound < TestSandbox
	
	def test_prohibited_method
		
		assert_raise NoMethodError, RuntimeError do
			self.sandbox.run("prohibited_method")
		end
	end

	def test_prohibited_system_method
		
		assert_raise NoMethodError, RuntimeError do
			self.sandbox.run("system('ls -l')")
		end
	end


end